package com.goods.common.model.business;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "biz_out_stock")
@Data
public class OutStock {
    @Id
    private Long id;
    private String outNum;//出库单
    private Integer type;//出库类型:0:直接出库,1:审核出库
    private String operator;//操作人
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private Integer productNumber;//出库总数
    private Long consumerId;//消费者id
    private String remark;//备注
    private Integer status;//状态:0:正常入库,1:已进入回收,2:等待审核
    private Integer priority;//紧急程度:1:不急,2:常规,3:紧急4:特急
}
